package com.hyz.pojo;


import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * @author HGD
 * @date 2022/10/3 20:22
 */
public enum IsComplete {
    /**
     * 0 没删除
     * 1 删除
     */
    UNFINISHED(0, "正在进行"),
    COMPLETE(1, "完成");

    @EnumValue
    private final Integer key;
    private final String value;

    public Integer getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    IsComplete(Integer key, String value) {
        this.key = key;
        this.value = value;
    }
}
